import request from '@/utils/request'


export function getUserInfo(userId) {
    return request({
        url: '/api1/api/getUserInfoById',
        method: 'get',
        params:
            {
                userId:userId
            }
    })
}


export function getUserReportList(userId) {
    return request({
        url: '/api1/api/getInfoByUserIdSort',
        method: 'get',
        params:
            {
                userId:userId
            }
    })
}

export function getChildrenByNameList(userId) {
    return request({
        url: '/api2/api/dict/getChildrenByName',
        method: 'get',
        params:
            {
                name:"证件类型"
            }
    })
}

export function updateUserBasicApi(form) {
    return request({
        url: '/api1/api/update',
        method: 'post',
        data:form,
    })
}
